package com.medical.patient.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.medical.common.utils.PageUtils;
import com.medical.patient.controller.vo.ReceptionVo;
import com.medical.patient.entity.PatientMedicalRecordEntity;
import com.medical.patient.vo.DiagnosemanagementVo;
import com.medical.patient.vo.DiagnosemanagementparticularsVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-08-13 18:42:36
 */
public interface PatientMedicalRecordService extends IService<PatientMedicalRecordEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<PatientMedicalRecordEntity>  getByUserId(String userId);

    List<PatientMedicalRecordEntity> getByDoctorId(String doctorId);

    List<PatientMedicalRecordEntity> patientMedicalRecordEntityByUserId(String userId);

    List<PatientMedicalRecordEntity> patientMedicalRecordEntityByDoctorId(Integer doctorId);

    Page<ReceptionVo> ReceptionList(ReceptionVo vo, Integer page, Integer size);

    PatientMedicalRecordEntity diagnosticReport(Integer recordId);


    List<DiagnosemanagementVo> diagnosemanagementList(DiagnosemanagementVo vo, Integer doctorId);

    List<DiagnosemanagementparticularsVo> diagnosemanagementparticularsList(DiagnosemanagementparticularsVo vo, Integer doctorId, String time);
}

